package com.work.work.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(description = "任务进度跟踪DTO")
public class TaskProgressDTO {
    @Schema(description = "任务ID")
    private Integer taskId;

    @Schema(description = "任务名称")
    private String taskName;

    @Schema(description = "项目ID")
    private Integer projectId;

    @Schema(description = "项目名称")
    private String projectName;

    @Schema(description = "负责人")
    private String assignee;

    @Schema(description = "进度百分比")
    private BigDecimal progressPercentage;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(description = "进度状态：1-未开始，2-进行中，3-已完成，4-已逾期")
    private Integer status;

    @Schema(description = "最后更新时间")
    private LocalDateTime updateTime;
}